How To Write The Perfect Pi